package com.haoliang.spring.component.java.config;

import com.haoliang.spring.component.java.factory.CustomFactoryBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Author zhaohaoliang
 * @Date 创建于 下午5:15 2019/3/10
 * @Description 请输入类的描述信息
 */
@Configuration
public class MainFactoryBeanConfig {

    @Bean(value = "customFactoryBean")
    public CustomFactoryBean getCustomFactoryBean(){
        return new CustomFactoryBean();
    }

}
